import repo from './pages/repo/repo.vue'
import runManage from './pages/runningManage/runManage.vue'
import VueRouter from "vue-router";
import cluster from "./pages/cluster/cluster.vue"
import config from "./pages/config/configManage.vue"

const router = new VueRouter({
  mode: 'history',
  base: __dirname,
  routes: [{
      path: '/',
      component: repo
    }, {
      path: '/repo',
      component: repo
    },
    {
      path: '/runManage',
      component: runManage
    },
    {
      path: '/cluster',
      component: cluster
    },
    {
      path: '/config',
      component: config
    }
  ]
})

export {
  router
}
